package com.back.service.inte;

import com.back.entity.User;
import com.back.uitls.MyException;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    //注册
    void register(User user) throws MyException;
    //登录
    void login(String name, String password) throws MyException;

}
